﻿using Microsoft.AspNetCore.Mvc;
using workflowbackend.CommonResults;

namespace workflowbackend.Controllers
{
    public class ResultController : Controller
    {
        [HttpGet("int")]
        public int GetInt()
        {
            return 11;
        }

        [HttpGet("string")]
        public string GetString()
        {
            return "11";
        }

        [HttpGet("Object")]
        public CommonResult GetObject()
        {
            CommonResult commonResult = new CommonResult();
            return commonResult;
        }

        [HttpGet("Void")]
        public void GetVoid()
        {
            return ;
        }
    }
}
